A Case Study in Specifying, Verifying and Refining a Parallel System in Z

نویسنده

  • Andy S. Evans
چکیده

The formal specification notation Z [Spi92] is one of the most popular and widely used notations for the specification and development of software and hardware systems. There is a large literature base of industrial case studies that have used Z, growing availability of high quality tools for the notation, and an emerging ISO standard. In Z, one traditionally specifies a static (functional) system one that produces an output in response to an input. Because of this, Z is widely perceived as being unsuitable for parallel and distributed systems where concurrent behaviour must be specified. Recently however, there has been considerable interest in applying Z to parallel systems. Much of this work has concentrated on integrating Z with formalisms better suited to specifying concurrent behaviour, such as TLA [Lam94], Petri Nets [Eva94], Temporal Logic [DS89], CSP and CCS. However, a disadvantage shared by all these approaches is the difficulty of reconciling the semantics of the separate notations, resulting in problems of compatibility with the standardized definition of Z and existing Z tools for proof, type checking and printing, etc. Moreover, techniques for reasoning with the resultant hybrid notations generally makes poor use of the excellent proof system offered by Z. In this paper, a somewhat different approach to specifying parallel systems in Z is taken. Rather than integrating Z with yet another formalism, modifications are made to the Z specification approach. A traditional Z specification is augmented with an additional specification describing the system’s required behaviour. Good use is made of Z’s generic features to simplify this stage. Assertional proof rules, based on W (the emerging Z deductive system), are then used to verify safety and liveness properties of the behavioural specification. In order to facilitate refinement, the traditional refinement laws of Z are strengthened to ensure the preservation of safety and liveness properties. Because the approach is based on the standard Z notation and proof systems, it is completely compatible with existing Z proof tools, etc. The overall basis for the approach is the fair-transition model of concurrency proposed by Manna and Pneuli [MP92]. The case study used in this paper is a telecommunications protocol, Signaling System No. 7, which is specified using the traditional Z approach in [WD96]. The case study shows that the expressibility of Z specifications can be considerably improved upon, enabling important properties such as parallel behaviour, liveness and fairness to be specified, verified and refined in Z. The case study also shows that the type of mathematical reasoning employed in the approach is very similar to that used in traditional Z specifications. Also,

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Estimation of Direct and Indirect costs of Occupational Injuries: A case study in one of the refining industries in Iran in 2015

Background: Occupational injuries can impose a significant cost to the country’s economy. In developing countries, it is usually difficult to get access to occupational injuries data mainly because the lack of appropriate reporting and recording system, and in these countries, injuries are often not properly reported. The purpose of this study is to estimate the economic costs of occupational i...

متن کامل

Chemical Reaction Effects on Bio-Convection Nanofluid flow between two Parallel Plates in Rotating System with Variable Viscosity: A Numerical Study

In the present work, a mathematical model is developed and analyzed to study the influence of nanoparticle concentration through Brownian motion and thermophoresis diffusion. The governing system of PDEs is transformed into a coupled non-linear ODEs by using suitable variables. The converted equations are then solved by using robust shooting method with the help of MATLAB (bvp4c). The impacts o...

متن کامل

Specifying & Verifying Concurrent Systems Using Z

At present, few guidelines exist for applying the Z notation to concurrent systems, while existing approaches to proving properties of Z speciications of concurrent systems place emphasis on the use of additional formalisms such as temporal logic. This paper proposes a practical and rigorous approach to specifying and verifying concurrent systems using the Z notation alone. Guidelines are given...

متن کامل

The investigation of supply chain's reliability measure: a case study

In this paper, using supply chain operational reference, the reliability evaluation of available relationships in supply chain is investigated. For this purpose, in the first step, the chain under investigation is divided into several stages including first and second suppliers, initial and final customers, and the producing company. Based on the formed relationships between t...

متن کامل

Designing Effective Strategies to Improve Performance Indicators of Bread Industry Using System Dynamics: A case study in Iran

Iranian bread production methods are often unsanitary, in the last decades, different attempts were made to mechanize production of Iranian breads, but a few of them, due to a variety of factors, could succeed. The aim of this study is to examine various factors affecting the system of bread production in Iran and to provide effective solutions for the development of mechanized bakeries as the ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998